<template>
  <el-time-picker
    v-bind="$myProps"
    v-on="$myListeners"
    ref="timepicker"
  ></el-time-picker>
</template>

<script>
export default {
  props: {
    value: [Date, Array, String],
  },
  computed: {
    $myProps() {
      return this.$public.inheritProps(this);
    },
    $myListeners() {
      return this.$public.inheritListeners(this);
    },
  },
  mounted() {
    this.$emit("mounted", {
      methods: {
        ...this.$public.inheritMethods({ vm: this, refName: "timepicker" }),
      },
    });
  },
  created() {
    this.$emit("created");
  },
};
</script>